From c6c3241806f819ae399d977fa1526450239b4898 Mon Sep 17 00:00:00 2001 From: jrobson Date: Mon, 28 Oct 2013 11:59:05 -0700 Subject: [PATCH] Add correct font color override to beta variables Note that originally the font color was specified incorrectly in variables.less (fixed in I118215e7578e8af94a6909988620dcf04805d14a) This restores the color to how it should be in beta Also rename variable as the name is very misleading - it only applies to the content Change-Id: Iff397075ef4d11b6f815d8a596ed249d2708398a --- skins/vector/beta/variables.less | 2 +- skins/vector/screen.less | 2 +- skins/vector/variables.less | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skins/vector/beta/variables.less b/skins/vector/beta/variables.less index 34627950ab..08e662dc06 100644 --- a/skins/vector/beta/variables.less +++ b/skins/vector/beta/variables.less @@ -1,10 +1,10 @@ @html-font-size: 90%; @body-font-size: inherit; -@body-font-color: inherit; // Page content @content-font-family: "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial", "Liberation Sans", sans-serif; +@content-font-color: #252525; @content-font-size: 0.9em; @content-line-height: inherit; @content-padding: 1em; diff --git a/skins/vector/screen.less b/skins/vector/screen.less index f5cf5e5dc1..de5fd18feb 100644 --- a/skins/vector/screen.less +++ b/skins/vector/screen.less @@ -37,7 +37,7 @@ div#content { /* Merge the border with tabs' one (in their background image) */ margin-top: -1px; background-color: white; - color: @body-font-color; + color: @content-font-color; direction: ltr; } /* Hide, but keep accessible for screen-readers */ diff --git a/skins/vector/variables.less b/skins/vector/variables.less index 197485c6b7..691e0fd598 100644 --- a/skins/vector/variables.less +++ b/skins/vector/variables.less @@ -1,10 +1,10 @@ @html-font-size: 1em; @body-font-size: 1em; -@body-font-color: black; // Page content @content-font-family: sans-serif; +@content-font-color: black; @content-font-size: 0.8em; @content-line-height: 1.5em; @content-padding: 1.5em 1.5em 1.5em 1.75em; -- 2.20.1